package com.mcintyret.site.web.controller.journal.forms;

import org.hibernate.validator.constraints.SafeHtml;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Past;
import java.util.Date;

/**
 * User: mcintyret2
 * Date: 13/04/2012
 */
public class TextEntryForm {

    @SafeHtml
    private String content;
    @NotNull
    private Integer journalId;
    @Past
    private Date datetime;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getJournalId() {
        return journalId;
    }

    public void setJournalId(Integer journalId) {
        this.journalId = journalId;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

}
